

Project 'VGG16_1FC.Exp0.ABonAB.unmasked.run_1':
[1] "Model type 'VGG16_1FC' sucessfully initialized:"
$model
Model
Model: "sequential"
______________________________________________________________________________________________________________________________________________________________________
Layer (type)                                                              Output Shape                                                       Param #                  
======================================================================================================================================================================
vgg16 (Model)                                                             (None, 7, 7, 512)                                                  14714688                 
______________________________________________________________________________________________________________________________________________________________________
flatten (Flatten)                                                         (None, 25088)                                                      0                        
______________________________________________________________________________________________________________________________________________________________________
fc1 (Dense)                                                               (None, 256)                                                        6422784                  
______________________________________________________________________________________________________________________________________________________________________
Predictions (Dense)                                                       (None, 10)                                                         2570                     
======================================================================================================================================================================
Total params: 21,140,042
Trainable params: 6,425,354
Non-trainable params: 14,714,688
______________________________________________________________________________________________________________________________________________________________________



$classes
                                     name id
1                Asteromphalus.labId_6835  0
2                  Chaetoceros.labId_6813  1
3  Fragilariopsis kerguelensis.labId_8356  2
4      Fragilariopsis rhombica.labId_8362  3
5                    Nitzschia.labId_6758  4
6              Pseudonitzschia.labId_8364  5
7                 Rhizosolenia.labId_6776  6
8            Silicoflagellate.labId_10255  7
9      Thalassiosira gracilis.labId_10366  8
10  Thalassiosira lentiginosa.labId_10369  9

$inputShape
[1] 224 224

$optimizer
<tensorflow.python.keras.optimizers.Adam>

$callbacksList
list()

Data:
Classes: 10

Training: 2381 samples:
   ClassId                              ClassName Count Count.ANT31 Count.PS103
4        0               Asteromphalus.labId_6835   160          45         115
5        1                 Chaetoceros.labId_6813   312          59         253
10       2 Fragilariopsis kerguelensis.labId_8356   474         300         174
1        3     Fragilariopsis rhombica.labId_8362   195          41         154
7        4                   Nitzschia.labId_6758    84          54          30
3        5             Pseudonitzschia.labId_8364   373         124         249
2        6                Rhizosolenia.labId_6776   163         110          53
8        7           Silicoflagellate.labId_10255   245         127         118
6        8     Thalassiosira gracilis.labId_10366   152          63          89
9        9  Thalassiosira lentiginosa.labId_10369   223          64         159
11      NA                                    Sum  2381         987        1394

Validation: 587 samples:
   ClassId                              ClassName Count Count.ANT31 Count.PS103
5        0               Asteromphalus.labId_6835    39          11          28
8        1                 Chaetoceros.labId_6813    77          14          63
3        2 Fragilariopsis kerguelensis.labId_8356   118          75          43
6        3     Fragilariopsis rhombica.labId_8362    48          10          38
10       4                   Nitzschia.labId_6758    20          13           7
2        5             Pseudonitzschia.labId_8364    93          31          62
4        6                Rhizosolenia.labId_6776    40          27          13
1        7           Silicoflagellate.labId_10255    60          31          29
9        8     Thalassiosira gracilis.labId_10366    37          15          22
7        9  Thalassiosira lentiginosa.labId_10369    55          16          39
11      NA                                    Sum   587         243         344

Test: 351 samples:
   ClassId                              ClassName Count Count.ANT31 Count.PS103
5        0               Asteromphalus.labId_6835    24           7          17
2        1                 Chaetoceros.labId_6813    45           9          36
3        2 Fragilariopsis kerguelensis.labId_8356    68          43          25
10       3     Fragilariopsis rhombica.labId_8362    29           6          23
9        4                   Nitzschia.labId_6758    14           9           5
6        5             Pseudonitzschia.labId_8364    54          18          36
8        6                Rhizosolenia.labId_6776    24          16           8
4        7           Silicoflagellate.labId_10255    37          19          18
7        8     Thalassiosira gracilis.labId_10366    23          10          13
1        9  Thalassiosira lentiginosa.labId_10369    33           9          24
11      NA                                    Sum   351         146         205

Compiling Model:

Starting Training:
Epochs: 50
Batch size: 32


Evaluating trained model for project 'VGG16_1FC.Exp0.ABonAB.unmasked.run_1':


Model evaluation:
$confusionMatrix
Confusion Matrix and Statistics

          Reference
Prediction  0  1  2  3  4  5  6  7  8  9
         0 24  0  0  0  0  0  0  0  0  0
         1  0 43  0  0  2  2  0  0  0  0
         2  0  1 68  1  0  0  0  0  0  0
         3  0  0  0 28  0  0  0  0  0  0
         4  0  0  0  0 11  0  0  0  0  0
         5  0  1  0  0  0 51  0  0  0  0
         6  0  0  0  0  1  1 24  0  0  0
         7  0  0  0  0  0  0  0 37  0  0
         8  0  0  0  0  0  0  0  0 23  0
         9  0  0  0  0  0  0  0  0  0 33

Overall Statistics
                                          
               Accuracy : 0.9744          
                 95% CI : (0.9519, 0.9882)
    No Information Rate : 0.1937          
    P-Value [Acc > NIR] : < 2.2e-16       
                                          
                  Kappa : 0.9708          
                                          
 Mcnemar's Test P-Value : NA              

Statistics by Class:

                     Class: 0 Class: 1 Class: 2 Class: 3 Class: 4 Class: 5 Class: 6 Class: 7 Class: 8 Class: 9
Precision             1.00000   0.9149   0.9714  1.00000  1.00000   0.9808  0.92308   1.0000  1.00000  1.00000
Recall                1.00000   0.9556   1.0000  0.96552  0.78571   0.9444  1.00000   1.0000  1.00000  1.00000
F1                    1.00000   0.9348   0.9855  0.98246  0.88000   0.9623  0.96000   1.0000  1.00000  1.00000
Prevalence            0.06838   0.1282   0.1937  0.08262  0.03989   0.1538  0.06838   0.1054  0.06553  0.09402
Detection Rate        0.06838   0.1225   0.1937  0.07977  0.03134   0.1453  0.06838   0.1054  0.06553  0.09402
Detection Prevalence  0.06838   0.1339   0.1994  0.07977  0.03134   0.1481  0.07407   0.1054  0.06553  0.09402
Balanced Accuracy     1.00000   0.9712   0.9965  0.98276  0.89286   0.9705  0.99694   1.0000  1.00000  1.00000

$statistics
   class                              className TP FP FN precision    recall        F1
1      0               Asteromphalus.labId_6835 24  0  0 1.0000000 1.0000000 1.0000000
2      1                 Chaetoceros.labId_6813 43  4  2 0.9148936 0.9555556 0.9347826
3      2 Fragilariopsis kerguelensis.labId_8356 68  2  0 0.9714286 1.0000000 0.9855072
4      3     Fragilariopsis rhombica.labId_8362 28  0  1 1.0000000 0.9655172 0.9824561
5      4                   Nitzschia.labId_6758 11  0  3 1.0000000 0.7857143 0.8800000
6      5             Pseudonitzschia.labId_8364 51  1  3 0.9807692 0.9444444 0.9622642
7      6                Rhizosolenia.labId_6776 24  2  0 0.9230769 1.0000000 0.9600000
8      7           Silicoflagellate.labId_10255 37  0  0 1.0000000 1.0000000 1.0000000
9      8     Thalassiosira gracilis.labId_10366 23  0  0 1.0000000 1.0000000 1.0000000
10     9  Thalassiosira lentiginosa.labId_10369 33  0  0 1.0000000 1.0000000 1.0000000

$macro
$macro$precision
[1] 0.9790168

$macro$recall
[1] 0.9651232

$macro$F1
[1] 0.970501

$macro$F1.Sokolova_Lapalme
[1] 0.9720203


$micro
$micro$precision
[1] 0.974359

$micro$recall
[1] 0.974359

$micro$F1
[1] 0.974359


